# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=wordgrinder
pkgver=0.8
pkgrel=0
pkgdesc="A simple Unicode-aware word processor that runs on the console"
url="https://cowlark.com/wordgrinder/"
arch="all"
license="MIT"
makedepends="ninja zlib-dev ncurses-dev uthash-dev freetype-dev libxft-dev"
subpackages="$pkgname-doc"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/davidgiven/wordgrinder/archive/$pkgver.tar.gz
	fixes-musl.patch"

package() {
	make install PREFIX=/usr DESTDIR="$pkgdir"
}

sha512sums="192e21381dc7644ca1682fe2c5984f97675c7727b84971559625c4a30da28699164d62168022f9de76ec3250ecab32e65a720585c19c2105685d79c8c33a4d2b  wordgrinder-0.8.tar.gz
46a344f663c82bd538d48be05f4453eec2a1c0e6459c610560fb891eba6d24b2900d08761f10c3c396b0c38e5baba28ae8108b59c14def03f604d07bf7a3c593  fixes-musl.patch"
